<?php


class Framework_DB_Table_OwnerFile extends Framework_DB_Table_Common {

	public $tableName = 'OwnerFile';
    public function __construct($db) {
   		
   		// Columns
   		$this->col = array(
	   		// Primary Key 
	        'idOwnerFile' => array(
	              'type'  => 'integer',
	           'require'  => true
	        ),
	        // Foreign Key
	        'idFileMeta'  => array(
	              'type'  => 'integer'
	        ),
	        // Foreign Key
	       'idOwner'      => array(
	              'type'  => 'integer'
	        ),
	      
	        'fileName'    => array(
	        	 'type'   => 'varchar',
	        	 'size'	  => 255
	        ),
	        
	        'filePointer' => array(
	        	 'type'   => 'varchar',
	        	 'size'	  => 255
	        ),
	        
	        'folder'      => array(
	        	 'type'   => 'varchar',
	        	 'size'	  => 255
	        )
	         
	        
	    );
	    
	    // Indexes
	    $this->idx = array(
	    	'idOwnerFile' => 'primary',
	    	'idFileMeta'  => 'normal',
	    	'idOwner'     => 'normal'
	    );
   		
   		parent::__construct($db);
    }
	
	
}

?>